import { useEffect } from "react";
import axios from "../../axios/axios"
axios.defaults.baseURL="http://127.0.0.1:3000/long/"

let App=()=>{
    let index= async()=>{
        let {data:{code,data}}=await axios.get('login')
        if(code==200){
            console.log(data);
        }
    }
    useEffect(()=>{
        index()
    },[])
    return (
        <>
            
        </>
    )
}

export default App